package com.jiezhuo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 定时任务信息表
 * </p>
 *
 * @author com.jiezhuo
 * @since 2022-10-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="QuartzTaskInformations对象", description="定时任务信息表")
public class QuartzTaskInformations implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "版本号：需要乐观锁控制")
    private Integer version;

    @ApiModelProperty(value = "任务编号")
    @TableField("taskNo")
    private String taskno;

    @ApiModelProperty(value = "任务名称")
    @TableField("taskName")
    private String taskname;

    @ApiModelProperty(value = "定时规则表达式")
    @TableField("schedulerRule")
    private String schedulerrule;

    @ApiModelProperty(value = "冻结状态")
    @TableField("frozenStatus")
    private String frozenstatus;

    @ApiModelProperty(value = "执行方")
    @TableField("executorNo")
    private String executorno;

    @ApiModelProperty(value = "冻结时间")
    @TableField("frozenTime")
    private Long frozentime;

    @ApiModelProperty(value = "解冻时间")
    @TableField("unfrozenTime")
    private Long unfrozentime;

    @ApiModelProperty(value = "创建时间")
    @TableField("createTime")
    private Long createtime;

    @ApiModelProperty(value = "最近修改时间")
    @TableField("lastModifyTime")
    private Long lastmodifytime;

    @ApiModelProperty(value = "发送方式")
    @TableField("sendType")
    private String sendtype;

    @ApiModelProperty(value = "请求地址")
    private String url;

    @ApiModelProperty(value = "执行参数")
    @TableField("executeParamter")
    private String executeparamter;

    @TableField("timeKey")
    private String timekey;


}
